//
//  CategoryDataTool.h
//  JiaoX
//
//  Created by jiaoxiu－004 on 14/11/17.
//  Copyright (c) 2014年 北京娇羞科技有限公司. All rights reserved.
//

#import "JXBaseTool.h"
#import "CategoryInfo.h"
#import "ProductSearch.h"
#import "SearchThinkKeys.h"

@interface CategoryDataTool : JXBaseTool
/**
 *  加载分类的数据
 *
 *  @param param   请求参数
 *  @param success 请求成功后的回调（请将请求成功后想做的事情写到这个block中）
 *  @param failure 请求失败后的回调（请将请求失败后想做的事情写到这个block中）
 */
+ (void)categoryDataInfoWithParam:(NSDictionary *)param success:(void (^)(CategoryInfo *result))success failure:(void (^)(NSError *error))failure;

+ (void)prodListWithParam:(NSDictionary *)param success:(void (^)(ProductSearch *result))success failure:(void (^)(NSError *error))failure;

+ (void)searchThinkKeysWithParam:(NSDictionary *)param success:(void (^)(SearchThinkKeys *result))success failure:(void (^)(NSError *error))failure;

+ (void)searchProductDataWithKeyWords:(NSString *)keyWords success:(void (^)(ProductSearch *result))success failure:(void (^)(NSError *error))failure;


@end
